package com.lemon.gen.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 李猛
 * @datetime 2024/2/1 19:37
 * @description 类对象
 */
@Getter
@Setter
@Component
@ConfigurationProperties(prefix = "gen")
public class GenConfig {
    //作者
    private String author;
    //数据库表前缀
    private String tablePrefix;
    //包名
    private String packageName;
    //web页面类型
    private Integer webType;
    //是否覆盖原文件 1是 0否
    private Integer fileOverride;
    //生成的web文件位置
    private String webPath;
}
